//
//  AssessQuestionView.h
//  DeepBreathing
//
//  Created by rimi on 15/12/24.
//  Copyright © 2015年 rimi. All rights reserved.
//

#import <UIKit/UIKit.h>
@class AssessQuestionView;

@protocol AssessQuestionViewDataSource <NSObject>

-(UIColor *)backGroundColorForQuestionView:(AssessQuestionView *)questionView;

-(NSString *)questionDescriptionForQuestionView:(AssessQuestionView *)questionView;

-(NSInteger)numberOfAnswerInquetion:(AssessQuestionView *)questionView;

-(NSString *)questionView:(AssessQuestionView *)questionView answerForQuestionAtIndex:(NSInteger)index;


@end

@protocol AssessQuestionViewDelagate <NSObject>

-(void)questionView:(AssessQuestionView *)questionView didSelectedAnswerAtindex:(NSInteger)index;

@end

@interface AssessQuestionView : UIView

@property(nonatomic,weak)id<AssessQuestionViewDataSource> dataSource;

@property(nonatomic,weak)id<AssessQuestionViewDelagate> delagate;

-(void)reloadData;

@end
